﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FRMS.Model
{
    public class MenuInfo
    {
        public int ID { get; set; }//菜单ID
        public int ParentID { get; set; }//上级菜单ID
        public string MenuName { get; set; } = string.Empty;//菜单名称
        public string Icon { get; set; } = string.Empty;//图标
        public string URL { get; set; } = string.Empty;//菜单链接
        public int projectID { get; set; }//项目ID
        public string project_name { get; set; } = string.Empty;//项目名称
        public string project_code { get; set; } = string.Empty;//项目编号
        public string Orderby { get; set; } = string.Empty;//排序
        public int Recordhead { get; set; }
        public int Recordtail { get; set; }
    }

    public class Menu
    {
        public int ID { get; set; }//菜单ID
        public int ParentID { get; set; }//上级菜单ID
        public string MenuName { get; set; } = string.Empty;//菜单名称
        public string Icon { get; set; } = string.Empty;//图标
        public string URL { get; set; } = string.Empty;//菜单链接
    }

    public class MenuList
    {
        public int ID { get; set; }//菜单ID
        public int ParentID { get; set; }//上级菜单ID
        public string MenuName { get; set; } = string.Empty;//菜单名称
        public string Icon { get; set; } = string.Empty;//图标
        public string URL { get; set; } = string.Empty;//菜单链接
        public List<Menu> child { get; set; }
    }
}
